package com.axdoc.wallet.service;

import java.util.List;

import com.axdoc.wallet.entity.PlatformWalletRecords;
import com.axdoc.wallet.exceptions.WalletBizException;

/**
 * 平台账户服务接口
 * 
 * @author sunzhaoli
 *
 */
public interface PlatformWalletService {
	/**
	 * 根据tradeNo查询平台账户流水
	 * 
	 * @param tradeNo
	 *            平台支付订单号
	 * @throws WalletBizException
	 * @throws Exception
	 * @return
	 */
	public List<PlatformWalletRecords> queryRecordsByTradeNo(String tradeNo) throws WalletBizException, Exception;

	/**
	 * 根据bizNo查询平台账户流水
	 * 
	 * @param bizNo
	 *            业务单号
	 * @throws WalletBizException
	 * @throws Exception
	 * @return
	 */
	public List<PlatformWalletRecords> queryRecordsByBizNo(String bizNo) throws WalletBizException, Exception;

	/**
	 * 根据时间查询平台账户流水
	 * 
	 * @param startTime
	 *            开始时间
	 * @param endTime
	 *            结束时间
	 * @return
	 * @throws WalletBizException
	 * @throws Exception
	 */
	public List<PlatformWalletRecords> queryRecordsByTime(String startTime, String endTime)
			throws WalletBizException, Exception;

}
